# SPDX-FileCopyrightText: Copyright 2022-2024 深圳市同心圆网络有限公司
# SPDX-License-Identifier: GPL-3.0-only

type: object
properties:
  eventId:
    type: string
    description: 事件ID
  userId:
    type: string
    description: 事件相关用户ID
  userDisplayName:
    type: string
    description: 用户名称
  eventType:
    type: string
    description: 事件类型
    enum:
      - user
      - project
      - task
      - bug
      - sprit
      - doc
      - disk
      - requirement
      - code
      - idea
      - apiColl
      - entry
      - testcase
      - custom
  refType:
    type: string
    description: 事件关联类型
    enum:
      - none
      - user
      - project
      - sprit
      - task
      - bug
      - doc
      - requirement
      - codeCommentThread
      - idea
      - apiColl
  refId:
    type: string
    description: 事件关联ID
  eventTime:
    type: integer
    description: 事件事件
    format: int64
  eventData:
    type: object
    description: 事件内容